Job: edge (rust)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust","units":"api","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 82db908f6920dc2ac0dc9f177c14194dabe1ebed
Checked out 82db908f6920dc2ac0dc9f177c14194dabe1ebed
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18ddae8b88088596.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (2.6 MB in 0.9s)
Cache restored from key: worker-build-tools-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (115.2 MB in 2.6s)
Cache restored from key: cargo-crates-Linux-234d3ac9e685dd62bf0df6d1c591f1efb5b331e5a5fb34e56f1c722dca0df037 (64.9 MB in 1.0s)
Cache restored from key: cargo-target-Linux-rust-90652a58a670fcc36b6f8fcd112c008a28ffad277d740763da97f2fa951f46ba (219.6 MB in 4.4s)
##[group]Install
node scripts/deploy.mjs install --only "api"
##[endgroup]
shell: bash -e /home/runner/_temp/18deae8e0c6ca3b5.sh
npm ci --no-audit --no-fund --workspaces=false

added 37 packages in 4s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy api
node scripts/deploy.mjs deploy --only "api" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18dfae908523f0ed.sh
Deploying 82db908f6920 (Merge sudo: delete an account with the workspaces it alone owns, purge each)

unit  stage  action  live          migrations  why
----  -----  ------  ------------  ----------  -------------------------------------------------------------------------------
api   edge   deploy  b395f99b4c26              2 changed files (crates/contracts/src/account_deletion.rs via crates/contracts)

1 to deploy: edge (api)
== edge: api
[api]  ⛅️ wrangler 4.146.0
[api] ────────────────────
[api] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[api] [custom build] [INFO]: Checking for the Wasm target...
[api] [custom build] 
[api] [custom build] [INFO]: Compiling to Wasm...
[api] [custom build] 
[api] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[api] [custom build] 
[api] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[api] [custom build] 
[api] [custom build]    Compiling g1t-api v0.1.0 (/home/runner/work/repo/apps/api)
[api] [custom build] 
[api] [custom build]     Finished `release` profile [optimized] target(s) in 52.96s
[api] [custom build] 
[api] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[api] [custom build] 
[api] [custom build] [INFO]: :-)Done in 56.61s
[api] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/apps/api/build/.tmp.
[api] [custom build] 
[api] [custom build] 
[api] [custom build]   index.js  29.3kb
[api] [custom build] 
[api] [custom build] ⚡ Done in 9ms
[api] [custom build] 
[api] Total Upload: 5988.66 KiB / gzip: 1297.98 KiB
[api] Worker Startup Time: 6 ms
[api] Your Worker has access to the following bindings:
[api] Binding                                                   Resource          
[api] env.BLOBS (16a4232cb746418db53782aa068be693)              KV Namespace      
[api] env.ACTIONS_CACHE (g1t-actions-cache)                     R2 Bucket         
[api] env.IDENTITY (g1t-identity)                               Worker            
[api] env.REPOS (g1t-repos)                                     Worker            
[api] env.WORK (g1t-work)                                       Worker            
[api] env.EVENTS (g1t-events)                                   Worker            
[api] env.RUNNER (g1t-runner)                                   Worker            
[api] env.BILLING (g1t-billing)                                 Worker            
[api] env.INTEGRATIONS (g1t-integrations)                       Worker            
[api] env.WEBHOOKS (g1t-webhooks)                               Worker            
[api] env.ACTIONS (g1t-actions)                                 Worker            
[api] env.DEPLOYMENTS (g1t-deployments)                         Worker            
[api] env.CONTEXT (g1t-context)                                 Worker            
[api] env.SEARCH (g1t-search)                                   Worker            
[api] env.SECURITY (g1t-security)                               Worker            
[api] env.PROJECTS (g1t-projects)                               Worker            
[api] env.PACKAGES (g1t-packages)                               Worker            
[api] Uploaded g1t-api (3.28 sec)
[api] Deployed g1t-api triggers (1.01 sec)
[api]   api.g1t.sh (custom domain)
[api]   mcp.g1t.sh (custom domain)
[api] Current Version ID: ab58baa7-7910-4282-b571-cf2d6f4bc8e3

unit  stage  result  version                               time   note
----  -----  ------  ------------------------------------  -----  ----
api   edge   ok      ab58baa7-7910-4282-b571-cf2d6f4bc8e3  72.1s

Deployed in 73.9s.
